home *** CD-ROM | disk | FTP | other *** search
- #include <sys/types.h>
- #include <sys/scsi.h>
- /*
- * Maximum number of slots on the motherboard. Usually 8
- * but EISA can be more. This is used to detect the controller.
- */
- #define MAX_SLOTS 8
- /*
- * The number of IO req structures that the driver can hold as pending
- * requests from all the scsi peripherals at any one time.
- */
- #define MAX_REQ_QUEUE 35
- #define REQ_ARRAY_SIZE MAX_REQ_QUEUE+1
-
- /*
- * The host adapter can be programed to use one of two IRQ's.
- * The first card found will use the primary IRQ and the second
- * card will use the secondary IRQ. It there is a problem or a
- * conflict switch the define values. The search order for the
- * card starts at slot 1;
- */
- #define IRQ_PRIMARY 15
- #define IRQ_SECONDARY 10
- /* If the card is a HW ver 3.1 or better */
- int sdce_force_no_sg = 1; /* the driver can do mode 17 linked cmds */
- /* for scatter gather. This is great for */
- /* the AIO driver and databases. If AIO */
- /* not used and you have multiple drives */
- /* configured, you may get better per- */
- /* formance forcing no_sg to a non zero */
- /* value. This will allow the driver to */
- /* accept up to 32 outstanding requests */
- /* and send them off to the card at once. */
- /* Of course the only way to be sure is to*/
- /* run your own load tests. */
- int sdce_force_no_md17 = 0; /* Use the enhanced read write only. Not */
- /* the linked mode 17 command. */
- int sdce_force_no_request_sense = 0;/* if non zero use host scsi cmd. */
- /* this will use irq 15. The cmd that */
- /* provides request sense uses irq 14 */
-
- int slot_num_max = MAX_SLOTS;
- REQ_IO *sdcereq_io_array[REQ_ARRAY_SIZE];
-
- int sdceirq_primary = IRQ_PRIMARY;
- int sdceirq_secondary = IRQ_SECONDARY;
- int sdce_haltverbose = 1; /*Non-zero value will print haltsys message*/
- int sdce_errorverbose = 0;/* Non-zero value will print card errors */
- /* from host driver otherwise they will be */
- /* passed back to the peripheral driver. */
-
-
-